package chapter1014;

import chapter1014.hero.Hero;
import chapter1014.item.Item;

public class TestH {
    public static void main(String[] args) {
        Hero hero = new Hero("mike",100,15,15,6);
        Item item1 = new Item("sword",350);
        Item item2 = new Item("bread",200);

        hero.buy(item1);
        hero.buy(item1);
        hero.buy(item1);
        hero.buy(item2);
    }
}
